package com.apexedu.eas.constants;

/**
 * 缓存常量
 * Created with IntelliJ IDEA.
 * User: ly
 * Date: 13-12-11
 * Time: 下午1:51
 * To change this template use File | Settings | File Templates.
 */
public interface CacheConstant {

	/**
	 * 组织机构
	 */
	interface ZZJG {
		String ZZJG_YX = "eas.zzjg.yx";
		String ZZJG_ZY = "eas.zzjg.zy";
		String ZZJG_JYZ = "eas.zzjg.jyz";
		String ZZJG_JXB = "eas.zzjg.jxb";
	}

	/**
	 * 教学班缓存key
	 */
	interface JXB {
		String JXB_IDS = "eas.jxb."; //教学班ids
		String JXB_XX = "eas.jxb.";
		String JXB_LS = "eas.jxb.ls.";
		String JXB_JC = "eas.jxb.jc.";
		String JXB_LIST_LS = "eas.jxb.list.ls.";
		String JXB_LIST_JC = "eas.jxb.list.jc.";
		String JXB_LIST_XS = "eas.jxb.list.xs.";
		String JXB_LIST_BJ = "eas.jxb.list.bj.";
		String JXB_LIST_JXB = "eas.jxb.list.jxb";
	}

	/**
	 * 考试缓存key
	 */
	interface KS {
		String KS_FA_SJ = "ks.fa.sj."; //考试时间 +考试方案id
	}

	/**
	 * 学生考勤缓存key
	 */
	interface KQ {
		String JS_RQ = "eas.kq.ks"; //教师课时+教师id.日期
		String JS_RQ_KS = "eas.kq.xs"; //考勤学生 +课时id.
	}

	/**
	 * 工具类缓存key
	 */
	interface UTIL {
		String ZY_BJ = "eas.zy.bj."; //专业下的班级
		String YX_ZY = "eas.yx.zy."; //院系下的专业
	}

	/**
	 * 操作类型
	 */
	interface OPERATE {
		String OPER_LIST = "eas.oper.list"; //操作类型定义集合
		String OPER = "eas.oper."; //操作类型定义 +id
		String OPER_STEP = "eas.oper.step."; //操作流程步骤配置 +id
		String OPER_ACTION = "eas.oper.action."; //操作流程动作 +id
		String OPER_SETP_STATE = "eas.oper.step.state."; //操作流程步骤状态 + id

		String COMMENT = "eas.comment."; //审批信息
	}
}
